home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / game / wb / dosadv.lha / talk < prev    next >
Encoding:
AmigaDOS Script File  |  1993-03-09  |  682 b   |  29 lines

  1. .key to/a,about/a
  2. if not "$<to>" eq "$cr"
  3. echo "It isn't here!"
  4. skip end
  5. endif
  6. if "<to>" eq "tourist"
  7. if "<about>" eq "guard"
  8. echo "The tourist says: 'I hear the guard likes powerplant. He will do anything"
  9. echo "to get a sprout of it.'"
  10. else
  11. echo "The tourist says: 'I know nothing about it.'"
  12. endif
  13. skip end
  14. endif
  15. if "<to>" eq "guard"
  16. if "<about>" eq "princess"
  17. echo "The guard says: 'Yes, someone captured her and I'm guarding her.'"
  18. skip end
  19. endif
  20. if "<about>" eq "key"
  21. echo "The guard says: 'Won't you give me something, so I could give it to you?'"
  22. else
  23. echo "The guard says: 'I know nothing about it.'"
  24. endif
  25. skip end
  26. endif
  27. echo "It doesn't respond to your queries."
  28. lab end
  29.